package com.rocky.component.elasticsearch.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author rocky
 * date 2025-08-05
 * Description:
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RockyESModel {

    String indexName() ;

    String indexNamePrefix() default "";

    int numberOfShards() default 1;

    int numberOfReplicas() default 1;
}
